Added tryExecute and ErrorHandler class for greater control
Minor changes