make little program to capture frames from GHDL simulation of machine
as it is running to help with debugging.
fix various niggly bits.
fix weird bug where charrom reading was always happening from
address 0 in ghdl simulation, with conversion to std_logic_vector
or unsigned address failing for no apparent reason.