Changes to get SyncWrite working (entire driver is now working)