Fix wrong format argument for integers. Fix syntax of messages.