Fixed bug with logging message not including parameters, fixed some typos