Reinstall gamemaker, and then in the search bar type %appdata% and press enter. In the gamemaker folder, there'll be a rundata file, and what you do is copy and paste that into a backup folder so that whenever it crashes you can just copy paste the backup and it'll work again. It's kinda boring but you get used to it after a while.