Pain, sleep and autonomics