Remove unneeded header
Add select function
Use a standard class
Expose curve function.
Move helper functions to decl file.
Add local_expand function
Hide implementations
Fix header order
Optimise out local variable
Rename project
Add glow_tonemap function