Comment changes only.
Encapsulate UI dialog in function.
Encapsulate program workflow into main().
WS only, mostly for PEP8 compliance.
Coding style cleanups.