Adding comments to exitAction and aboutAction

From a 1-week python learner trying to read some code.
And write some thoughts on what I saw