Tinc: fix gui to work with IE. Improve upon verifyFields functions.