Fixes to turn system.

[FIXED]     Exceptions related to ending turn.