Fix audio data drawing.

- Do the rendering in onDraw. Doing the drawing and then invalidating
the view does not really work since the message queue is already full.
- Use thread and handler instead of an async task as proposed in the
documentation for long running threads.
- Prepare to dispatch the frequencies to other views as well.