For example, before this fix, if you enabled the "Mario flies without wingcap" cheat during gameplay, it would work, but if you then disabled it during gameplay, Mario would still be able to fly. Now it correctly restores the old memory values so Mario can't fly anymore after you disable the cheat. Note, because cheats are basically writing to a random area of memory, this function may not always restore the previous state depending on the way that area of memory is used by the game.
-Removed Cheat menu and replaced it with "Cheats..." menu item in the Options menu.
-Modified alert_message and confirm_message so they handle line wrap of the message internally, so now it's no longer necessary to insert newline chars into strings passed to alert_message and confirm_message.
-added list_find_node utility function to util.c.
-added utility functions to create/delete cheat structures for use by the gui.