      self.layout.menu(RenderResolutionPercentageMenu.bl_idname, text="Resolution Presets")
        self.layout.prop_menu_enum(context.scene.render.image_settings, 'file_format', text="File Format")
        self.layout.separator()
        self.layout.menu(AnimateRenderMenu.bl_idname, text="Animation")
        self.layout.separator()
        self.layout.prop(context.scene.world.light_settings, 'use_ambient_occlusion', text="Use AO")
        self.layout.prop(context.scene.world.light_settings, "ao_factor", text="AO Factor")
        self.layout.separator()
        self.layout.label(text="Samples:")
        self.layout.prop(cscene, "samples", text="Render")
        self.layout.prop(cscene, "preview_samples", text="Preview")
        self.layout.separator()
        self.layout.prop(context.scene.render, 'use_freestyle', text="Use Freestyle")
        self.layout.separator()
        self.layout.menu(SimplifyRenderMenu.bl_idname)
        self.layout.menu(SubsurfMenu.bl_idname)
        self.layout.separator()
        self.layout.operator(ToggleThreadsMode.bl_idname, text='Set Threads')
        self.layout.operator(RenderBackground.bl_idname)


    def execute(self, context):
        return {'FINISHED'}

    def invoke(self, context, event):
        return context.window_manager.invoke_popup(self, width=250)
# Menu


def menu(self, context):

    self.layout.separator()
    self.layout.operator(RenderToolsMenu.bl_idname)


class AnimateRenderMenu(bpy.types.Menu):
    bl_idname = "TOPBAR_MT_render_animate_menu"
    bl_label = "Animation"
    bl_description = "Set Frames & Animation Length"

    def draw(self, context):
        self.layout.separator()
        self.layout.prop(context.scene, 'frame_start', text="Start Frame")
        self.layout.prop(context.scene, 'frame_end', text="End Frame")
        self.layout.prop(context.scene, 'frame_step', text="Frame Step")
        self.layout.prop(context.scene.render, 'fps', text="FPS")


class IMAGE_PT_RenderSettingsPanel(bpy.types.Panel):
    """Render Settings Panel"""
    bl_la