This commit replaces nearly all remaining uses of #fmt, #debug, #error, and #info, and fixes some error messages...