Improve state handling: restore mouse position.
Small cleanup.
Switch screen locking to 'xdg-screensaver lock'.
Add hibernate/suspend support.