remove searchbox blur event; add escape key handler; remove outline; DRY up code