Better histogram ranges
Remove debug options
Fix normalization
Remove old rate drawing related parts
sync