Fixed bug in Contact.getEmails(), made most of ViewContact