Simplified image and tb styles to take advantage of new fpgen version. Enclose main part in text class so that additional styles can be used instead of replacement styles.