Checkpoint template matching tutorial with bad window layout.
Generalize makeWindow() to lay out windows of differing sizes.