Fixed a bug where it would get stuck in an infinite loop with the exclude_pks array. Button to rearrange the compare_types on the page with the ajax call + minor changes