Removed shared vars and atomics used for debugging