Reduce heap memory usage

Rewrote screen dump function to eliminate ~550 bytes of reserved buffer
space on heap when compiling in SERIAL_DEBUG mode