Changed atomic_replace to atomic_move, now ti DOES move atomically

Also updated modules that use it (and expected) atomic move from atomic replace