The boot process..

This file got a bit long. Maybe move these functions and the globals verified and verificationstatus to a new domain-verification.js file?