Improved animation of relative values.
Fixed warnings
Cleaned up nKey a bit.