Overhauled requesthandler, returns, and errors
More exception and error handling changes.