bug fixes, comment improvements, slight refactoring of Read::getArticlesPerDay() and related parts of index.php