Further improved management of the service and the start and shutdown
buttons.