Implemented a graphics switch cooldown period. So switching back can be delayed for a certain amount of time.
Also the ApplySettings call only is performed once for consequent calls reducing the graphic switch operations