Cleaned up the code a little and fixed the messed up stuff that tried to make sure a player was good.
Removed some extra semicolons.
Kept the stuff alpha-sorted.