Adds more try/catch statements to prevent unthemed errors being displayed to customers.
Fixes for PHP error notices.