cleanup encoder console app
Merge pull request #825 from ruil2/console_cleanup1

    cleanup encoder console app