Some safety checks
Some extra debugging info
Added JSR opcode