Streamline check for InvalidKey
Massively shrink check_win method

Reduce check_win() to a less hideous and much more eye-friendly size