Add debug mode toggle
Add fps mode for #646