only track the visible part of the console
only paint the lines that changed
update more frequently
snap window-size to multiples of the font-size
make main_wnd_proc return 0 on all handled events