Modify sync requests to use long polling. Modify mail sending to use local SMTP server instead of sendmail.
Add warning about potential issues to main page.
Tweak exception handler code to include timestamp.
Remove 'recordLogin()' call from registration procedure as it no longer exists.
Move SMTP options to once place. Include stack trace in error report mails.
Update mail config.
Add explanatory messages to some error responses, although they shouldn't really happen anyway.
Implement user count tracking, and request timeouts.
Re-enabled custom exception handling/mailing.
Add Loading screen (with progress indicators\!) and change dialogs to be <div> instead of <section>, because yeah.
Reduce search state fetch request timeout to 1 minute, to avoid Connect's erroring after 2 minutes.
Separate some template stuff out into partials, as index.ejs was getting a bit unwieldy.
Change search state reponse to 204 upon timeout, rather than 408, since it's not really an error.