modify smudge tools to use single layer
add draft history management
add disk image cache
Merge remote-tracking branch 'origin/hystory2' into hystory2