Commented lines causing compilation errors
Initial commit
Removed runtasks function, commented intializeQueue function (might be useful later)
Removed prev and next
Commented initializeQueue line (currently not defined anymore), and runTasks boolean line (not defined anymore)