Purge wx elements of the console.