minor changes to profile html
computing overall stats, fixed error that didn't record result of final answer