Solved more problems with unicode strings and whatnot.