Refactoring and code cleaning.

LaunchListener uses ILaunchesListener2 which implements launchesTerminated(...) event. It is called properly when a launch is terminated and we can store exit values.
Related to issue karlitrotski/CodingSpectator/#2.
Pair programming with @cinai.