Remove debug code and add destroy to examples to ensure memory is freed up between reloads.