Patched build of blueboy's portal project.