Added Debug option to Preferences