migrate flags.rest => preferences.sleep
classes: migrate priority from !,!!,!!! to Number (prep for passive stats)