Added comments and made a couple of code clean-ups (machine move didn't need player character, for one...).