Fix indexerror in parse_code, allow ?%help to work