Add detection and replacement of local nets with general nets
Clean up display code to demonstrate pin cleanup