Script Editor Default Window Size

loadPreferences() now uses default window width and heights if getSize() returns 0 for either dimension. Fixes bug in Ubuntu 12.04 where Script Editor is initialized with 0 pixel window.