Addition of statistics and error state solutions. Including the stanard handlers for retrieving that information.