The searchbar works perfectly under the theme with Department of Retrogaming...forgot the theme name. 'pixel election'.
There are a few different threads here. One of the solutions is to use HookTimer to execute functions every 1/100th of a second that will help keep the game paced.
Framethrottler
Try searching the forums for some posts too. The keywords 'hooktimer' and 'frameskip' are good. Those topics have been mentioned many times before.
Also, I made a demo of a framerate throttler and skipper that doesn't use HookTimer.