Many more doc changes and a fix to setBoolParameter