added mac fullscreen, smart-tab functions and disable hidding of windows
by Escape.