connector code cleanup
fold/unfold dbl click
calculating correct sizes for connector bounds