PortalKit: fix but that console doesn't work for showing execution error and restructure css and templates