Add inter-vertex connections to code and clean u p some layout variables
Fix bug causing segfaults when start and end groups are unadded to ordered group