PRD-4912 - Added a clear error message to the code.
PRD-5094 - Fixed action initialization, which did not propagate active document to all actions.
PRD-4912 - Fixing copy code so that created bands and subreports have a clean element-type and do not inherit an invalid value from their originals.
Merge pull request #401 from tmorgner/PRD-4912

Prd 4912