Dock UI to top or bottom of form

Also save/load form location and size