adds fitTextboxHeightAndThread()

extends appendToFrame() in order to support anchored image frames