Refactored scheduling to mysqli for Zend compatibility.
Reworked animation submission to reset after successful submission.