Not allowing a plane to land if the airport is full, and minor refactoring