minor optimization

playing and sending packets are now scheduled better