Various bugfixes

Fixes for: 
#3482
#2469
#3928
#3863
#3769
Remove this and add an attack_ai() which just returns.