Modified build file, ensuring that only the needed files are included in the example-jar-files.
Added the option to render a midi file with audio samples other than the default sample, also bugfixes.