Revert all of your changes to how it was before. Otherwise use a safecopy of the former working version (good practise at modding: Make safecopies of versions) and continue the work from there. Take also a look at the rgl-log if it shows where errors might be.