modified cube.c to change the window title