Add a regenerate menu option to the simulation window. Fixes #6