Draw + FlushBuffer + Updating emulation main loop