Exception work

Runtime exceptions now caught correctly
Parsetime exceptions lead to a sensible message box