internal screen structures switched from char to int to handle unicode