Write2(): pass data size
Add debug output
Remove reset on Open()