Update dist dir
BUGFIX: remember the random seed

This means when we adjust a slider after hitting the regenerate button, we don't
inadvertently trigger another regeneration first.