Rewrite draw axis function for reuse. Fix possible bug about synchronization of spectrogramColors related variables.
Add an option to smooth the spectrogram.