Fixes a regression introduced in !465 by replacing the `GtkHeaderBar` with a `AdwHeaderBar` Closes #1265
Closes #1208
This also brings some other changes: * Enables closing the window using Escape * Fixes a few criticals Closes #1258