Mechanisms affecting performance of the BaBar resistive plate chambers and searches for remediation