~ Use text IO in Dialog.
~ Fix -Wall warnings.