Made Lesson10 compilable by reverting window and draw to lesson 8 versions