Prevent commit if no writes were done
No more commit after closing device; made sure last sector num is refetched on new handle.
Patches Robert Lippmann improving cross platform build compatibility
Make pretty trunk and 1.0.0alpha17 dirs