Added error handling
Added exception handling for all errors that I could figure out how to trigger.  If anyone can make more, which I'm sure there are more, definitely send me a bug/issue through github.