main window
picture layout
Optimization