Fixed a potential double free and also upped the time limit for automated play to 1 second.