Added runDebug.bat that runs the code from class files with assertions enabled for debug runtime error checking.

Removed exceptional abuse of exceptions in eventsystem hrhrh.

Signed-off-by: Peter Mårtensson <veritas.is.me@gmail.com>