Better error messages in nacl demos