Refactored menu creation
Stop background process when removing objects from the plater