move the -x processing out until after we're done processing args.

we need to collect things and process them afterwards rather trying
to process as we go.  This should make a few things work better, such
as having '-x foo -r' and then having -r re-enabling the x'd option.
fix 32/64 typo