Update main.cpp

first whack at escaping backslashes in quoted strings