Some Cocoa patching, on the safe side
Remove setStyleMask from Cocoa window
Remove some code
QtGui builds