added a lot of temporary debug printouts in simple_ai, and did code sanitazion in shipyard