Fixed massive locking bug that made the dumper unusable.

Whoops. Also fixed updated/new debug notification for DumperJSON.