Main window: Fix multiple imports

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