I would suggest to you that look over to your mercury levels in your body. Maybe this is something very off topic and out off the scope of the things that normally are recommended in a reboot, but a mercury level test can't never hurt.
If you do such test and the results says that you have high levels of toxicity from heavy metals in the brain and liver, that also could be the reason for the insomnia and muscle pains, etc etc.
This information it's very, very cutting edge. Almost nobody it's talking about how this toxic world is affecting our generation.
If you are interested in this topic I recommend you to read this blog: thesupermandiet.com
Read the paragraph intro and after that head over the detox article. You will understand everything when you read that. Alex Bloom, the creator of the site, says that he had pornography and masturbation addiction, and after he detoxified his body the addictions disappeared. That is because the mercury and heavy metals accumulate in the brain; and affects the dopamine system. It's very interesting. I encourage you to check it out.
Lots of love.