better video perf, handle exit, hide mouse