cmdline handling, bmp, screen updates, kbhit