major overhaul - bugfixes and added support for dynamic range values - either as percentage strings, or as custom functions.