Turns the handling to pure 16 bits, remove references to dialog.h.

3 files changed