New dbx implementation (with single locking scheme). Tested for a single process, works. Needing to test it for more processes