stat.html: use button
hub: fix bug about diff from Q_out and Q_err