Added better exception support, implemented exception support in renderer init code