Added some comments
Fixed generating HTML page when custom screenshots path was set