improve update popup decision code
move server ping code into getXMLWithTimeout()