Add remaining guesses count. Fix some trivial linting errors

Just a couple of little improvements.