Added support for Stage.frameRate and example to measure average time between frames.