utf8 and gui fixes