Improved script runceed.sh & fixed bug with modified headers 

After the pull this merged branch you should also rebuild cegui e.g. using commands:
```
./../../source/external-deps/cegui-source/build-ce-gui-for-mg.sh && ./build-mg.sh
```