added sendGenericRequest function and set priority entry in handletimelinedone switch