fixed potential threading issues
fixed threading test
now journaling and memory mgr have threading tests that pass