Move basic window setup earlier.

Don't bother turning of the menu-bar on Mac OSX. It doesn't taken any
space anyway.
Make the height system dependent.