cleanup of redesigned demo

remove unused code