refactor extended window gadgets
add search gadget