moved locking queue inits to main and stuck them in an array