flags, labels for text boxs, bug fixes