Added a saner settings file
Fixed a conditions where the file threads could cause a segfault. Changed how dump is structured, and moved file writing to single thread.