Slow down the analyzer a bit
Disconnect and reconnect from the MainActivity to the PlaybackService properly, and stop the analyzer when the MainActivity is stopped.
Delete some unused stuff