add FPS reporting and basic event handling