Add callbacks to handledata and more console logging