miner.php $mcastexpect, font adjustements and doctype