Sorted out DIVs for real this time. ™
Added territory graph logic into it's own file
Minor CSS changes