Use drop piping. Hold the tip slighty above the cake and start piping - let the line drop on the cake. This will prevent the build up you automatically get, when the icing builds up before you start dragging the tip.
Did that make any sense?
Stop squeezing before you come to the end, then roll your wrist to avoid the tail. Sorry this is hard to explain, easier to show to someone. The biggest thing is to stop squeezing before you come to the end. There is more icing then you think left in the tip. Hope this helps!
I'll try these things next time... Thanks!