minor fixes, constants, and some texts.