Fixed message typo, thanks to @Maccrafter for spotting it
Allow debug messages to be configurable