added warnings to clear all and navigate away from puzzle page

some code cleanup and comments
readme