Settings is now a PreferenceActivity, some bugs fixed