Cleaned up UI, added email alerting