More work on the enemy ship behavior and a stubborn crash that I can't quite isolate