locking: Finally get rid of quarks. Add debug destination to makefile.