Added SearchThread and rendering of