reverted to the old way of finding the running jar (as the new way did not work for the mac installer) but improved the url decoding function to properly decode UTF-8 encoded characters