Add a fillTemplate function to maker, allowing the user to fill out and retreive a template with a single function call.

Also fixed some error reporting