Hi Viktor,
you seem to re-discover many of the pitfalls which have been discovered before.
Please use the search facility of this forum.
Manuel is aware of these shortcomings, but his to-do list is too long to get them resolved over night.
App.Path works for *.exe binaries but fails for *.jar and for IDE program executions.
Greetings
A1880