Made more window closing happen outside the mouse up event Put in minimalExtrusionBeforeRetraction setting into curaEngine