Move handling for the huge 'epoch' command to it's own function.
Implement a working timed shutdown command.