Adding modal popup for first-time <13 users

Also fixing some broken button logic in the flash template handling, and allowing users with complex usernames to log in ('cause I forgot that I had a pull request open on this branch).