Added feature for multiple line insert
Fixed a problem with un-zero-ed buffer
Locking is no more made on multiple lines in advance but on next line