Made the stats toggle consistent with the checkboxes and keep its state, moved to the debug panel