loadfile: Added all relevant quit events