Fixed 'no such command' errors being displayed inappropriately.
Corrected logging type in case of fatal error.