added a wire frame render mode