Added try/catch blocks and debugging code; cleaned up boolean syntax
Made the exception handlers more verbose
Removed (almost all) the 'Finally' blocks and caught the exceptions properly  :)