Fix crash on rendering exit bug; delete worlds on close