Improved logging.
Added debug attribute to logging tag - outputs parameter value comparisons in logs and/or console.
Numeric comparisons can now use floating point values rather than only integers.
Merge branch 'fix-leaks'