Work in progress on texture support, improved the demo app.