successfully saves layers, but background is visible
hiding works, sorta
export by copying duplicate
undo after done
artboard support, up to one
add comments
fix comment on undo block
properly delete duplicate layers instead of hiding and undoing
flattening support
Merge pull request #3 from cemregr/export-by-copy

Workaround for writeBitmapImageToFile