Create layer in group instead of document and then moving. - Fixes #3
Minor improvements.
Merge pull request #4 from miekd/master

v3.2 fix as well as small improvements