Url request is now async
Made xhr async, so creation of the overlay has been restructured to use callbacks. Also fixed tests