virtual media changes

added the frame # counter to the media.cs virtual media layer