first cut at adding ACTION to supported elements
fixed embedObject() so that it won't fail of the "reference" object was not found.  a message will be logged to the console.
removed a couple debugging statements.

added documentation about how to add new element types.