FlightGear Visualiser: Fixed a preprocessor bug and fixed some compiler warnings.