fixes #224 - set cursor AFTER screen is submitted, and avoid NULL cursor
in html emulation