Be sure to remove actors from being observers once they die

Fixes the bug where enemies could continue attacking the player
postmortem
Another general src cleanup with additional minor fixes