parse one less character of strings to hopefully fix garbage showing up at end of string (null terminator?) in GUI elements