Terminates strings

Signed-off-by: Pasi Savanainen <pasi.savanainen@reaktor.fi>