Initial implementation (doesn't work properly)

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>
Implement cursor locking and fly mode.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>
Minor changes

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>