More cleanup of the scheduler so that only the last *scheduled* run is considered when starting the software.  Also, added in information about the last recorded run into the index() function.