implement quick search, various formatting fixes