initial console + command line option processing.