Additional cleanup

- Call super().__init__() in Thread/Process subclass
- Use context manager to close out file when dumping anomalous metrics
- Use identity comparison for None
- Simplified unpacker -> timeseries fixup
- Minor refactoring of return values to avoid redundant if blocks
- Removing unused imports