Added: isFrameNew()
Fixed: Getting the frame rate when playing files.
Cleaned up the code a bit.