Cleaned up ScheduleQueue.cs