Delete all objects inside the displayloop

This makes things safer in multi-thread environments