Here's how research to help insomniacs could end up improvin