main/sxiv: moved from testing