UI added and pointer lock implemented