Antivirus and foreign characters in paths on Win

These changes include:
- update license header in bootloader files
- fix running frozen apps on Windows in paths containing foreign characters
- the antiviruses should not report false positives anymore
- some refactoring of the bootloader code