Add more input options for diameter

fixes #332 on github.
Cleanup diameter worksheet on cancel