Make the title bar of the settings window in macOS

Use case or problem

Now the settings window looks like something between Linux and Windows. It doesn’t look native on macOS.

Proposed solution

Add a title bar to the window like any window in macOS.