Made remainder of appropriate functions const.
Fixed extra padding when displaying the puzzles contents and heatmap.