Updated comments.
Made LOG() test a bit more flexible.