fixed double line breaks in toString()
got flushing to disk working