#52 Modified to be able to close the scene of more than one.