Add a utility class to redirect a standard stream - not often something a GUI app needs!
window: Per comment, redirect stderr to null while creating PangoTabArrays