updated the main window to use the service_map

Ignore-this: 73d7c371d9be725eacca50082726b367

This simplifies the large check_mail function.

darcs-hash:20140930141147-c21fe-e60b28c210fc9297231c11cf5f1a4873fccb2a05
changed script_app to use service_map

Ignore-this: 7625271a1beef7672678d7d4ba6a2db0

darcs-hash:20140930142450-c21fe-f84332dfdb51e9aa23446c284d492cc64e2cf594
removed the m's

Ignore-this: ab74d10b773940f521f42303e72600d8

darcs-hash:20140930142505-c21fe-2584e32e06920843e4121d6f2db0bebb96626ef5