Scalable window and fullscreen mode now.

This makes "global.scale" redundant and it can be removed from the whole
codebase. Except that would probably break everything.