added multi-pitch support, cleaned up user prefs