A few bug fixes and the hooks for a dashboard.