removing an unnecessary ifx
refactoring title block
refactored
more refactoring, switching most \def to \newcommand
more refactoring, now assignments can be sreferenced
tweaks
tweaks