updated to use Eliot's new vm structure and not mess with the icons. It may even work properly