taskQueue proper masking added, and use of atomic int id. changes in the makefile