Code cleanup and bugfixes

- cleaned up code
- fixed bug where the ffmpeg process was still running and used the font
when the script tried to remove them
- disabled start button during render process