added bunch of comments.
dockmanager can now save its layout to an xml file and read it in later!!