added mouse hiding and kiosk mode switch.