Moved title block code on its own
Moved title block code on its own

Created a dedicated function to set the title code: a lot of data will
be shared between different views, so no need to duplicate it.

ntd/adg-lua