fixed altitude and angle setting
fixed nullreference exception on startup