Added a small prototype for the preferences dialog