The headache could be from not getting enough sodium, magnesium, and/or potassium (electrolytes). Get some coconut water and try sipping that when you feel spaced out or get a headache, or salt some water & drink it. Are you sure you're hydrating enough and are you adding salt to your food?
Are you eating dairy? Some people have congestion from dairy. I do, so I don't eat it.