Feature #2054: Fix onegate url
feature #2054: Add "\n" when updating the template
feature #2054: Improve error messages