focusing editor when program execution stops