Rewrote search box to use Blizzard templates.
Minor code cleaning.