#52 Modified to be able to close the scene of more than one.
Merge branch 'master' into dev