Add debugging and build validation object.
Split out validation.
Ignore left-over .swp files generated by vi.
Flush invalid to disk now actually flushes to disk without memory leaks.