Fixed pattern seach for goal subject.

Though doing it this way is a bit cumbersome; we should probably instead
alter the way goals are exported from cyphesis.
Fixed reference to connector.
Added comment about socket setting.
Don't truncate in lists.