fixed randomize() not respecting valid ranges of settings - visualisations now correct.