Mostly adding "const" to methods that don't change the class, but also correcting a few other points that were raised.