handling of compilation errors

* instructions can return error code (and the shell instruction does),
* broken stage flags,
* force run mode of the executor.