Fixed and made consistent a few calls to CRM_Core_Session::setStatus().