Fixed: asynchronous timeout/interval, added a "state diagram" in comments, added in sounds after initial test, removed variables minbox secbox etc.