Base: add vars. GUI: add stat message dialog.