Added support for mapping to opacity
added GUI to change render mode