bug fixes for docking windows
Merge remote-tracking branch 'origin/master'