I haven't understood what you write about the back buffer and also have never heard about a REFRESH flag, but using panels is described in detail in the tutorial in the second and third lesson.