Fix static mode restarting

forgot about commands when $UPDATES is not set
-lockfile wasn't being deleted
-"IDLE" wasn't being run again