(GLUI) Fix Savestate load/save and resume