Cleaned up spelling mistakes and logging