simplified audiostate update functions; added audio normalization (disabled) and windowing (amazing); added line color; tweaked all learning parameters ever