I dont have many ideas on the insomnia other than she should not be drinking coffee or tea. How about a long hot bath before bedtime?

Unless her mother becomes more emotionally stable, it seems that there will be a breaking point where D14 decides she would rather live with you. Just keep doing what you are doing and cross that bridge when and if the time comes.

He must not be much of a man if he cant rescue her from an evil computer that shuts off randomly. Maybe she should start hanging out at the Geek Squad desk at Bestbuy to snag herself a new lovey that can fix computer problems.