More code cleanup and improved ajax for groups and processes pages.