extracted GrabHistoryAction, misc rewriting of validation code