Print build info on startup
Fix portals initializing too early and causing an NPE - closes #1190