Change log count statements for clarity.
Add comments how to compile from command line without using make.