Fix AI clear sight code (#181)

Using modified Xiaolin Wu's algorithm;
seems to work most of the time.
Tweak coop AI engagement distance
Coop AI only fires if gun is ready
Coop AI only engages if enemy is visible
Fix crash in menus