Format strings

Fixes for unsafe format strings and a missing format argument.