Fixes

- Add an option to generate the output without gui and without output file name, generate it automatically.
- Fix the preview to clip values to the range [0:65535].