The window will sometimes be saved in the ini with values similar to:
APP_MAIN_WIN_POS_X=-32000
APP_MAIN_WIN_POS_Y=-32000
This renders the window invisible when relaunched, causing much confusion and a bug that seemingly is only fixed by reinstalling the software or deleting the ini file (in actuality, setting those values to 0 fixes it). A sanity check to keep the window coordinates within the bounds of the monitor (or at least above 0,0) when saving/loading would resolve this.
I don't know the syntax to handle that via AHK, or I'd create a pull request myself on one of the forks.