Added emerald counter, added search textbox