Place 'reset(main_pan,SHOW);' in your 'begin_level()' function. set/reset and toggle are macros (a set of little instructions) that can be used to change the flags of an object at runtime.