#470 Fix terminal search box losing focus in auto mode

#470 Prevent the search box from losing focus in Auto Search and NEI Synchronized Auto Search modes.

Without this patch applied there is no real difference between the auto and manual search box modes (other than whether the search box initially has focus when the GUI is opened). The search box should always have focus in auto mode, and should be able to lose focus in manual mode, as has always been the case until recently. This patch fixes the problem by preventing the search box from losing focus when in Auto and NEI Synchronized Auto search modes.