Bug fix session unset
Added onBusy onIdle event