Bug fix: in search mode, search results were not kept when we go back.
bypass query in search mode only if we have no hash yet
fix indent