added threshold error undef to prevent it from showing up repeatedly when calling check_thresholds multiple times
set MapR calls to use SSL by default and added --no-ssl switch instead