Added some more documentation
Bugfix: closing undocked windows