Added the ability to change parameters and regenerate terrain.