How do you keep frosted sugar cookies from looking sloppy?

I am making easter sugar cookies and whenever I frost sugar cookies they never look like I imagine. They look all sloppy with messy edges and are spread unevenly. I would like them to be able to look like this:
http://farm1.static.flickr.com/40/122247396_b970abed79.jpg

Any tips?