Improve UI widgets, Dialog.Settings, Context. Add stubs with ModelDefinition routines.