Pull from kleinerm for PTB BETA RELEASE "Blue skies and empty brains" - SP3

* GUI window mode fixes for OSX and MS-Windows.