fix source addition/removal

If the source that is going to be added already exists in the header and
hasn't changed then ignore it.
attempt to fix the code editor issues

An issue that occurs when you go to use the code editor and the line
numbers show/content shows up, but it's un-editable and off to the side.
reflect changes
fixes #8
reflect changes