Beginnings of realtime miner status (working)

I almost get in what order I should commit to avoid useless ones :-)