Tweaks and bugfixes. Started work on horizontal portals.