This might come in handy for someone else. I was getting a cannot modify header error when using edge animation on a wordpress site. If you use wordpress you are probably familiar with it. But this was the first time I've used edge in a wordpress site and the error was recurring. Evertime I removed the spaces from the config file they would go back in after the edge file was reloaded, I'm pretty sure it was the edge header scripts though I can't say for sure. Anyway the below link solved the problem.