Cleaning up an error message related to dev deployment.
Allow the error template to be used where we don't want inline errors.

Error message stored in the session (flash won't work for us, too many
parallel requests and such).

Also updated template for custom, generic and log reference messages.
Try/Catch on comment and thread creation for when rate limiting kicks in