fix for F_sine segv, bunch of intl fixes