Added shared data.
Added quit dialog.