Fixed flickering, added FPS counter