added more functionality

- openPortal now actualy can open a portal
- new function getNearestPortal