Change refresh to 24 fps
Add debug option