Faster startup

Moved window sizing/positioning to be done in vanilla JS, so it's noticeably faster than waiting for YUI to init.