Repairing membrane traces

Sorry, content still to come...