Removed some debugging code, added code for removing the coarse search results XML file, and working on making the search flags