Fix too-short strings

Sets up a constant which determines the length of all string variables. This makes it a lot easier to increase the length in case of issues like #128.