Added checks for offline use and fixed the IP not actually updating.