refactor resolutions form; update some PARAM_* types