+ issue #130: improved error messaging for required fields.
+ added template type selection.