Adds a log file
Correctly handles GameCanvas size

Resize window to fit the GameCanvas, and correctly respond to widget
size when rendering.