Documentation for BP + tiny code corrections