The full Launcher code, edited to allow me to compile it quickly and easily.