Added a pending events test to Updater.
Delete events before clearing them.
Addeda GetFrameDimensions method to Renderer.