Bug fixes for Cue

-Cue loading from JSON wouldn't initialize length or type status
-Additional functions for getting first and last keyframe data