Refactoring and documentation of SpectrogramDrawer class.