Refactor adding, modifying queue records; fix main page.
Fix History and Search pages
Fix Heroes popup.