Development of pqiv, a rewrite of the image viewer qiv