Optimize the game before adding this, imo. Game crashing seems to be the main focus here...so fix that problem instead of covering it up.