add glitch chooser, fix some other stuff... I should really document this better...