Merge pull request #793 from kamiyo/fixframetools Update frametools.cpp to fix crashing when changing themes.