removed calls to deprecated controlP5 methods. Also tweaked documentation in places