Logging and spell fixes