Changed main.cpp in plugin example to work around wcin/cin getline sync issues in linux