Added get_slot(). Fixed PQueue missing