To create a rounded square/rectangle:
Go to top view.
Create a nurbs circle with 8 sections and radius 1.
Right-click the circle, select Control Vertex.
Using grid snapping, pull out the corner CVs so all CVs are in a 2 by 2 square.
Select the circle normally (right click->select) and scale to a rectangle, etc.
Then extrude.