Separate gui from lib
Change to pkg-based importing
Gui helpers to their own libgui folder
Merge pull request #2 from dougmassay/master

Separate engine from gui/prefs