editbox: fixed typing printable chars when selecting; fixed incorrect de...

...selection; added mouse selection