misc small fixes. also added reverse portrait and reverse landscape orientations in prefs