few fixes with editbox

mostly just fixes with editbox (not sure why all these other commits are listed..)