Fixed bug where settings would not be loaded.

With ST3, you can't call `sublime` functions in the top level.
Fixed ST3 output panel fail, refactored a few things.
Merge branch 'st3fix'