Implemented so that game ends properly and is integrated into the code aaron wrote.
Cleaned up comments and fixed it so you can set a hold time of 0 with the decrement hold time button.