Fixes possible ArrayIndexOutOfBoundsException.
Fixes problem with inconsistent name of the application.
Updates the list of files allowed to be exclude from the embedded jre.