TextContainer: fix palette acquisition
TextArea: commenting out currently unused alignment variable