Added faster garbage collection

I think this fixed the issue with the buttons, however i think their
listeners are sill on the screen while the game is running