Added ability for users to change any sample number, required to recover
from user errors.