Added ffmpeg conversion function
Implemented optimize function
Removing temporary files during optimization
Better point location of the window