app: more cleanup in the action history code, mostly general consistency