cmdline app improvement; imgCamio refactoring