Major update
Imported single line edit code into full line edit and single line removal code which fixed #4 and fixed #1