Put out as much sensor work as possible onto background threads

The sensors signals and merging are now delivered on background handler
threads instead of the UI thread.

While this might not change a lot of things in practice, it may help
with #3680.