added window_width and window_height to enable any size of emulated screen and to still see whole memory map (ugh!)