stdout parsing: if state has changed then stop iterating over the previous state's handlers

this was causing regex to match from previous states when state had already moved on
sclang quit: send SIGINT, then SIGTERM if it won't die
set this.compileDirs on error, just as it is sent on successful compile
update version
Merge branch 'release/0.4.3' into develop