Change CR NUL processing to match RFC - it overwrites the current line.
Handle backspace (non-destructively).
Cleaning up cleanup code.
Fixed incorrect init methods.
Don’t set dictionary value to nil.
Fixed double release.
Don’t use CGFloat as the iterator in a for loop.
Set _inbuf and _outbuf to NULL after freeing them.
Another missing assignment to NULL after free.