Make the main.py file directly runnable again
Improve rendering on Windows 7

There is no backgrond colour for the source text, and this helps to
frame it clearly and helps to see different suggestions more easily.
Unify API for native file dialogs
Specify the handle on win32

This way the dialog knows its parent and the main window can't be
selected.