Added a global try/catch, bug fixes

-try catch the whole bitch
-added some bug fixes
Merge pull request #6 from chongtastic/master

Added a global try/catch, bug fixes