Almost there with busy-wait version check. Still need more protection on URL fetching.