Fixed automatic script reload and changed sys.clearEvent to accept a string
Tidyed up tabbing in loadBasicConfigs and added very basic error handling