removed a trivial region selection restriction
added basic tab support and inproved the buffer->insert() function in the python bindings