Fix kb evnt dispatch in Toolbox + Segault on changing first kf time

Fix - Possible hitting something around Toolbox = segfault!
+
Fix : Segfault occurs when changing time of keyframe with new_index 0