Fix #1881 "Form Builder toolbox occasionally doesn't load section templates"
Minor: imports, unused method
Minor: be less stingy with length of stack traces
Minor: log exception at debug level