Added copy/paste/cut to textboxes, fixed zero-length bug