Tidied up the simpletext demo.