rename "select" command to "name"
remove unused variable
make tri_depth_compare static
make multiple 3d-view contexts possible