Locking fixed.
Added: silly Makefile targets.