Fixed jQuery bug related to empty horizontal sortables + more workarounds on merging gui