Added OpLogWriter to drain oplog after initial clone
Misc cleanup and bug fixes