Also missed that double clicking the icon in the top left of the title bar closes the window. It does not toggle maximization like clicking the rest of the title bar does.

Fun-fact: that's a relic of Windows 3.1, where the close button was exactly in the top left corner of each window.

Too bad most new Windows 10+ apps don't support that anymore.