Put frameTimer on the stack instead
[guilib] - setvideoresolution needs to be called from mainthread to work
on most platforms - fixes #15115
Merge pull request #5502 from Memphiz/trac15115

[osx] - setvideoresolution needs to be called from mainthread else the o...
Merge pull request #5515 from topfs2/frametimer

Put frameTimer on the stack instead