Fixed some issues with the MetaDemo.