implementing player events on KalPlayer + code fixes