How to Make "Exit Game" and "Load File" Through events

I am working on an game, where I am not using the default title screen, but a custom one through events. I have everything worked out, except for the scripts. I need a script that will shut the game down after a few "Show Picture"/s (Shutdown like if you pres Alt-F4, not the Quit game scene) and a script that will skip the load file scene, and just load file 1. Please Help.
Pressing a button to shut down the game would just require a parallel process event. 


Conditional Branch: The B button is being pressed


SceneManager.exit


Branch End


For load:


 Script: DataManager.load_game(x)
Sound.play_load


SceneManager.scene.fadeout_all


$game_system.on_after_load
SceneManager.goto(Scene_Map)
Oops, just realised I'm on the VX Ace board (though I was looking at MV). Derp.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-exit-game-and-load-file-through-events.62939/