miner.php show api/rig errors at the top of a customsummarypage