Added test of file-writing thread
Added save image thread
Added buffer overrun statistics
Removed save image thread (will be handled differently)
Removed saveimage thread