Refactor CPS interpreter to use error continuation.