add from vector, make viewport more general
load thumbnails before meshes