display row numbers on chart.
add ability to turn on/off console logging (as it seriously slows down the rendering of large charts)
formatting
fix instruction line number synchronisation to handle copy/cut/paste events and not display an extra empty row
tidy up the keyListener