Change order of parameters
Use TS types in histogram store

Also start using UserNotification instead of only logging to console.