Updated main.html for obnoxious edge cases