Wrapping getProgName/newLogger into common runMain