cleanup and add mouse support to index
add basic mouse support to frag
depth control