WIP: SDL1 bugfixes and feature updates necessary for HBAS UI rewrite
I really need to learn to merge-request better :P
This WIP request serves to track features I've added into alex-dev in the progress of modernizing hb-appstore's UI rendering code for arbitrary-resolution support.