small kaleidoscope logging improvement
use Function references in more places