Added threading - helps us when waiting for url to load