add errors for unhandled codes. fix line numbers. try to extract lines from moves.