Added String trimming to TargetCollection(String) constructor.

This will remove extra whitespace by the dashboard.