Rudimentary resizing support - still crashes on too small window. Reset search box on enter.