Began to integrate save states with gui

Can't work any more for tonight tho :mushroom: