I've found that the more I slowly ease into a trackstand, the less back and forth there is. Also, the sooner I get into a comfortable position, the more I can control the back and forth.
As for wobble, I've noticed that I can sometimes use my knees to steady the top tube.