Update main.cpp

Work on ticket and some other stuff. Commented out non-functional call to search.