Add --use-egl and --no-egl. Command line changes.

Reorganize CMakeLists.txt.

Clean up command line interface and help texts.