Remove hard tabs and trailing spaces.

No functional change.
Refactor annotatemain.cc for clarity.

Fewer strcmps and frees (and fixed at least one memory leak
in the process, I'm pretty sure), and fewer gotos (which
contributed to the memory-leak problem by goto'ing around the
frees).

I would use std::getline() in preference to getline_113() these
days, except that GameState::scan() uses C-style FILE* for input,
and stdin and std::cin aren't always synchronized properly.