RF-12839: Undid breaking changes from earlier commits, and from RF-12513
RF-12513: Fixed changing tabs with names, while preserving the ajax events for RF-12839