Merge pull request #3 from AndrewShalimov/addExceptionHandling

Add exception handling
Fix build warnings
Fix the type on MetricsFilter singleton
Merge branch 'fix-metrics-filter-type'