Add option to send deltas (should product a 'smoother' value). Refactor sending function factory