Prevent launcher from being closed when client/server is running + exit code stuff