Added Mutex to lock manager access
FPS counter text is still buggy for unknown reasons