Clean up MyWindow.cpp of testSingleBody app