Resize window on load.
Some small tweaks, and a fix.