parameterized some aspects of TitleImage.
made callback external.