Rename library to stop JSLint complaining
Understand new settings structure as well as old hist_sel