Moved some connection modification functions into main where they belong. There are some bugs in clicking on arrows and selection overall that persist from the big data structure switcheroo.
Tablesorting works with new data structure, min and max now appear as metadata for signals. Tables are set to always have 20 header columns (some will simply be invisible), these can now be edited as necessary as we add/subtract metadata.