Added optional rendering of mesh as a wireframe
Housekeeping: refactoring of rendering settings, removed warnings