Move drawing code out of Board class.

Move the drawing and other methods to the Window class, so the board is
independent of the display.
Add the end result of the game to the log file.