Added markup to include person's middle name in the output if they have one.
Also added error checking to ensure forename exists before trying to
print it out.