Working on the status and reset functions

Not complete yet. I ‘ll have to finish everything else first so I know
what all the variables needing reset etc. are.