Some code-cleanup. Now checks for stacked pipes/power cables as well as ensures that APCs have open power cables beneath.