added renderUI- and renderThumbnail-callbacks