I have had insomnia-type problems for the last few years as well. I am almost positive that it is linked to this liver/GB thing, as I've noticed it change relative to the flush.
Along with the other suggestions, you might try taking 4 Ornithine capsules before bed, or 2-3 Valerian. This has really helped me.