Add range check, set default on probe.

Also update license and rename mutex so that it looks like a proper module.
Update license and rename mutex