Library Bug Fixes and added TrackUnstructEvent()