search launches in own window and added database query system