added missing calls to the signals in Window.cpp
Merge branch 'window-activate-deactivate' into local-dev