remove unnecessary indirect vars
clamp max volume based on max(dev->vol(), 100)

Fixes GHI#17.
Favor nullptr over NULL
add version function, wire it up from the makefile