Bug fixes, emulated screen flash