Add the defaults object
Fix a bug where an interval of 0 would start disk flushes in sync mode
Add an option for pretty printing