After some discussion and review:
ModelViewer.cpp - change some scope/indentation and iterator usage/location.
ShipAICmd - fixed up a speeling mistook ;)
SpaceStation.h - Added a clearer description as to the reason for the limit on the number of docking bays.