Added logging, fixed index.php being called multiple times due to browsers requesting the favicon