Histogram + Entropy: Added low priority thread, fixed minor issues
Minor Fixes and code formatting