Some AI fixes, have to do attacks again and some building improvements needed