ui/ux bugfix and perform_atomic now writes the stack trace to the mutex file