Fixed accidental extra row. Removed debug code.

Also fixed a bug where the last mistake before completion would still
show red after finishing.