Minor edit to serialmanager.py to allow exiting from program when no output mode is specified.