Red Reload

I've been having problems with Reload Pytronics failing. It was rotating the public.log but uwsgi was not recreating it after the touch. Rotate then touch worked when done manually but not from the reload function in editor.py. On the assumption that this was a race condition, I tried separating these commands into two functions, called in succession. This fixed the problem.

Other improvements to Reload Pytronics include closing the public.log if it is open. Leaving the previous log open after a failure was confusing when the next Reload succeeded.

I'm not sure if this problem was introduced with Red or is just a "feature" of R32 (or Beriberi). I've noticed Reload Pytronics sometimes taking a very long time/failing for a while but didn't understand what the problem was until today. Sadly the investigation involved restarting R32 so yesterday's record uptime of 150 days will have to stand for the next five months - unless you can beat it.