Abstracted out serial port and display logic.

Also added SNES support.