A more wholesome solution to the windowing problems in OSX. As described
in bug https://jogamp.org/bugzilla/show_bug.cgi?id=969
Bug 927: Try fix deadlock.

(14:15:13) sgothel: @Xerxes: In doResume .. do a 'while( !isActive && !shallPause && isRunning ) {'
(14:15:52) sgothel: doPause: while( isActive && !shallPause && isRunning )
(14:31:55) sgothel: doPause only: while( isActive && isRunning ) {
Merge remote-tracking branch 'petros-koutsolampros/master'
Merge remote-tracking branch 'xranby/master'
Fix whitespaces of commit 78fcb8228d4a391054501aef16eb0462322ba39d and WindowImpl comment