[LineEditor] Nearly eliminated bug. Currently has out of bounds when
replace is different length.
[LineEditor] Bugs squashed. Should work perfectly now, aside from
ensuring good user input.
[LineEditor] Added try-catch block for insert method. Untested.