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.
Merge pull request #53 from sinverso/ScripEditorDefaultWindowSize

Script Editor Default Window Size