Update search algo and added some more functionality to the trade page.