Fixing some bugs and starting to implement a function to actually save the changes made to the ROM