UI updates sample length
Merge branch 'feature/sampler' into feature/working-branch