Improved debugging features  (#23)
Improved debugging features  (#23)

* Improved debugging features in loadf function so that errors inside files are no longer masked

* Changed double if statement to an if else

* Removed the debug variable - goes straight into the if/else statement

AquaQAnalytics/TorQ,AquaQAnalytics/TorQ,skeevey/TorQ,AquaQAnalytics/TorQ,skeevey/TorQ,skeevey/TorQ,FlyingOE/TorQ,FlyingOE/TorQ,FlyingOE/TorQ