Adding support for M64/M65 commands and a small improvement to the console