Improved printing support and fixes small issues on the PHP portfolio.