InsertLinePrefix() and RemoveLinePrefix() were improved