basic exception handling
minor fixes for windows build
Added the STEP keyword to the FOR loop construct.