Apply larger font to MessageWindow and move some common code to ImeWindow.