Partial support for disconnect forwarding in WirePatter, refs #216. Also fixed a nasty bug in WirePattern data grouping and refactored the code a bit.