miner.php - speed up formatting and allow calc on gen fields
Merge pull request #567 from kanoi/master

miner.php - speed up formatting and allow calc on gen fields