merges PR#235 and PR#246

Contains  "Fix incorrect use of this keyword #246" and " Dispatches events for when the player is stalling and for when the buffer is loaded. #235 "