add missing CAutoFile::IsNull() check in main

- also use __func__ in error messages related to block files
- minor comment changes and remove space after function name in log
  messages in touched functions
Just because the space after function name is not needed, I had a discussion with @laanwj about that. Uppercase just because of consistency... Deserialize is also uppercase.