better error handling
default template loads from localhost, includes contenteditable fix