Minor fixes in Kaleidoscope class