Search GUI, search bug fixes, fixed client window closing behaviour