- allow users to set thresholds for the metrics for nodes being shown in result list
- code cleanup
- todo cleanup
- added comments
- minors