Some minor cleaning up.
Slight reworking of our Core::formatErrorMessage() function.