Reduce number of calls into Flash

merged samplesQueued and playbackPosition into getPlaybackState()