improved manual flight logic