Took out some unnecessary functions from APM, and fixed max climb mode and glide mode