Fixed more segfaults (weee); Added PORTALS!; and much more!