cleaned up.
moved save code to layoutmanager.
cleanup.
docked forms can now be shown/hidden.