further work on the siminst wizard. Making sure the right tab is entered by default. Making the finish button only appear if all previous tabs are complete. Making the pretty state work.
making the simulation-casting page work (first page in casting process that checks ready_p). Adding proc simulation::template::ready_for_casting_p. Refactoring proc simulation::template::edit to do dynamic sql.