Primecoin miner: Merge of Tandyuk's linux port with RdeBourbon's latest, -xpm option