For the onions, heat 2 tablespoons of the oil in a medium, non-stick, heavybased frying pan. Add the onions and season. Sweat for several minutes before sprinkling over the dried thyme and sugar. Once the onions begin to soften, add a dash of red wine vinegar. Add the remaining oil if necessary and allow to sweat gently for 30 minutes until completely soft.