Fix some typos, update allowed formats, and backtrace to error output