Added functionality to connect membranes together, allowing for closed shapes. When one membrane is destroyed its neighbors are as well.
Added functionality to membranes to consider the bonds their neighbors have with other objects.