Streamline key checking code.
Keys should not have underscores to prevent issues later.
Various cleanup.
Implement end of round function
- shield restored and 0 hull ships removed