implement insert/delete characters
a few cleanups
handle large counts for insert/delete characters
implement insert/delete lines