This simplfies the code and improves performance by only needing to loop over the menu entries instead of the inventory and checking all types of inventories. - Fix exceptions being thrown when losing focus on the client when searching. There is still an exception when spam clicking, but that was always there to begin with. - Fix searching while using the GE window and while using a shop window.