more cleaning up main loop

Shoveled a lot of input config menu code into ... inputcfg.
I'm hoping to get the main loop real clean and tidy so I can start
working on physics and timesteps without all the distracting clutter.