attempted to add automatic shutoff after delay
unified code formatting
Closes issue #1 - auto shut-off