Fixed FPS counter. Add profiling tool.