Fixes for negativeAwareModulo() and audio thumbnail.