Move user prefs to SQLite
Various prints
Close the DB and spool to disk during application exit
Commit on a change to the cache
Don't close the cursors
Commit on table creation I guess
Merge pull request #54 from cyberkitsune/sqlite_prefrences

Sqlite prefrences