WIP: total earned graph.
Never show stats when btc_mined = 0.
Fixing right justification when a user is logged in.
Fixing the aggregate functions used in the graphs.
Minor style fix.