Version of mint_str_load with more restrictive input checking (isalnum rather than !isspace) as the previous version was giving trouble on the raspberry pi... Invisible characters were popping up. Still not sure whether new version solves all problems... but these seemed confined to the character before EOF.