Bit more work on main.html