create index in server repo only if not exists
use own TGA loader in file viewer (closes #25)