Add an 'emulator' display mode
Fix display issues, add downsampling and emulator.