conserve art layers and export them along with parent
changing iteration direction fixed the duplicates bug
dont export empty images
dont export images for empty container layers
Merge pull request #6 from cemregr/flatten-art-layers

Flatten art layers and include them with parent, instead of making them individual views
Removed arbitrary depth limit so that more complex documents can be exported.

(Yo @cemregr, why was this here? :)
Whitespace cleanup. Moved comments to bottom.
Updated readme file with special codes to flatten / ignore / force view
Merge pull request #8 from cemregr/patch-2

Updated readme file with special codes to flatten / ignore / force view
Added line about App Store sketch
Merge pull request #9 from cemregr/patch-3

Added line about App Store sketch
updated readme to use correct symlink
Merge pull request #11 from nstamas/master

Fix Issue #10: updated readme to use correct symlink
updated readme with proper app support path
second app support fix
Merge pull request #12 from bradbirdsall/patch-1

updated readme with proper app support path
Open project in default browser when running command.
Use rectByAccountingForStyleSize to get the true dimensions of objects with outside borders, shadows, blurs and reflections.

This exports the images at the right size, but there's still a problem when positioning them on the canvas: we need to offset the image position to take effects into account.

Right now the offset calculation assumes that effects are symmetrical in both axes, and will fail miserably for effects that aren't (your typical drop shadow, or a basic reflection, for example).

Anyway, I will go out on a limb and declare: this commit fixes #7, and I will open a new issue (#13, most probably) for the offset calculation.

Infinite thanks to @pieteromvlee for his help cracking this one.
Calculate real layer position using a different approach that makes offset calculation unnecessary. This closes #13, and makes me happy.
force visible layer