Added code to detect if the timer is unplugged/off. More polished stackmat.html demo.