Misc stuff

look at the commits for info, just small bits I wanted to fix + lua support for formation flying (several ships)