Stabilization of simultaneous mode locked operation at two wavelengths