add tracking of final uri to getpage
better logfile printing