Major rework on 'useful' flag to get schedule exiry working again, minor rename of functions