renders portals
refactor of some engine code
adds working portals (#6)