double pipes in paths now || allow for first path found to be returned. a few other minor cleanups.