Change to use pango for text rendering.

Other modifications include implementing signals for callbacks for
components and other supporting changes.