made global Events file and fixed remove Scene bug