fixed some more compiler warnings and merged the lowestObjectPosition structure to create a common data structure for differnet types of schedule queue