pub fn run_main_loop( theme: &Theme, color_mode: ColorMode, fps: u32, use_color: bool, ) -> Result<()>