Fixed a nasty bug in the autoclear code. Also fixed some null-pointer bugs. Cleaned up the class definition. Removed redundant code.
Added new functions to delay execution of schedules. Tested these functions.