Make both frames (gfx, stack) standard frames so they close on window_destroy.