whitespace cleanup and fix taking the lead into account for firing the turret.