some smaller changes and fixes

- link_list replaced by getLinks()
- new configpath 'PortalCount'