Added Invert toggle and escape to lock and unlock cursor. Thanks to @Alfrefonse13 at TikTok for the feedback.