cleanup
start support of custom parameters and materials
Remote: add support for Light
hack: to avoid crash (fixme)