Modified putDynamicItem to have a "layer" parameter.  This should been part of last PR, but oops.
Merge pull request #4 from boneskull/master

Allowing putDynamicItem to specify a layer