I've got myself a 32:9 monitor and because of how text-heavy these games are it was almost unplayable to go on reading text all the way from my left to my right. I'm an engine programmer by trade so I set out to fix this and wanted to share my results.
This fix will center the UI for any resolution wider than 16:9. For resolution that are more square i.e. 4:3 and 5:4 the UI will be anchored to the bottom instead as having the bottom elements floating in the middle looks strange.
I also had to employ a trick to make some fullscreen effects stay fullscreen instead of becoming letterboxed, such as the transparent black backgrounds when reading books. Any rect that is 0,0,640,480 or larger will be considered fullscreen and stretch as normal. Of course some are note supposed to stretch like the custom main menu backgrounds so I added a bool variable for windowDefs called aspectAware that can be set to override this behavior. I experimented doing the opposite but could never find out how to make the book backgrounds stretch so I went with this.
Still haven't figured out how to position the compass correctly but it looks decent enough.