Opening folders is added to recent menu

This behavior was lost while reworking the document window class, closes #701.
Our divider line view can now handle secondary color

This is used when the window is not main (if provided).