This patch introduces CPU stats and a few other minor bug fixes.