Changed the reset stats command to run on a second thread, I am working on making everything that writes to disk run in a separate thread. I am not sure if this implimentation will work, though, as I am not sure if runTAskAsynchronously waits for the task to finish before proceeding.