Clean up error messages. Required checks for empty array. Bump version.
Update dist files