fixed the mesh viewer and added a mesh adding method... it's not fully done yet.