fix lineending for index.php; added fetchlogs for easy viewing diff logs