Fixed demo 4
Fixed setMessages on array of string and updated documentation on setMessages for external use
Updated documentation