Main window: When starting, disable all the widgets (buttons) that require a document to be selected

Signed-off-by: Jerome Flesch <jflesch@gmail.com>