More cross link fixes

This pull request has more changes to the cross linking. It adds a clone class to the cloned panels which allows for much simpler code for crosslinks. You may want to look at this and leverage this in other parts of the code.