moved web loading back to header to check difference
additional clean up and comments