proper thumnail resizing, added text to header buttons