init 3D viewer
set up event navigation
fix seg fault from order of object deletion
add tracks to 3d viewer