Hello, the gas you are experiencing could come from a variety of sources. First off the Kashi cereals have soy protein in them and that does cause some gas problems for people. Consider another high fiber cereal without the soy such as Kelloggs Bran Buds. Make this change and see how the GI tract does.
Next, you are right about vegetables and fruits especially if they are raw they are harder to digest and can produce more gas. These vegetables are gas producing - broccoli, onions, beans, and peppers - so avoid them for awhile and see if it helps.
Lastly, what kind of candy are you eating? If it has sugar alcohols (mallitol, sorbitol, or xylitol) they can produce a laxative effect and gas. These kinds of candies are usually the sugar-free versions.
Rebecca