Cleaning out some old HTML and code, added some global constant values rather than inline literals.