Fix for Issue #31

I changed the allocation for text from 255 to 510 to account for utf8 encoding with international characters. This will fix Issue #31, which was a problem with cutting off chinese characters.