Internalize GUI code.