Fix #17 - reporting of errors from inside VM broken