When I read this thread, it strikes me that perhaps some of the gentlemen in her posting perhaps should do their homework and read up before posting condescending ass-hole comments.
What used to work on older bikes is not necessarily valid for new ones.
The thing is: @Engineers post is indeed relevant.
The strict requirements for the Euro-4 and and Euro-5 means new ways of controlling the engine compared to older bikes.
A cold engine requires a richer fueling than a warm engine.
While this used to be simply a matter of richening up the fueling, the newer emission regs. interfers at all stages of running an engine to a much higher degree than for pre Euro-4 engines.
By closing the exhaust flap, a backpressure will be built in the exhaust flow. This means that when the exhaust valves opens and the pistions try to empty the cylinder for burned gasses, the backpressure caused by the exhaust flap will reduce the flow, and some of the unburnt gasoline (a result from the less efficiency of a cold engine) will be kept in there and be burned on the next stroke. This again allows for the ECU to add slightly less extra fuel to the cold engine and thereby less pollution.
If the flap does not close, this will result in a too lean mixture for the engine when cold, and this corsponds to the symptoms @Engineer described.