performance corrections

after closing the app javaw.exe stays in running processes this shold
fix issue