Added escape command to unlock mouse cursor.
Escape key now exits mouse capture.
Removed unused imports.