add three-finger-tap in launched apps to go back

+ and some refactoring / cleanup