Remember also this little one is in her 'Kevin' teenage stage too.
Its also possible that she may have separation anxiety
I was going to say the same thing Penny.
Having had a dog with separation anxiety it sounds very much like it to me.
I agree with what has been said about crates, I use them, and Caroline's advice is excellent.
A dog with SA will often like a crate. Some dogs with SA feel like they have to be in charge of any area that they have access to and run around frantically getting very stressed exhibitting behaviour you have described. So the sanctuary of a crate can be very welcome to them. Place a cover on the top and down the back too, which makes it feel very much like a den.
The messing is part of the SA. I didn't have this with my dog, but my neighbor does and it doesn't matter if her dog has been to the toilet 5 minutes before she leaves, and she's only gone 30 minutes, she always comes back to a mess.
I managed to resolve my Labs SA over a couple of months. Firstly I would recommend a DAP defuser. This looks like a plug in air freshener and gives of something that replicates the pheromones that bitches give off shortly after having pups. It gives the dog a sense of well being and helps to feel a little calmer. You can pick these up at the vets and also online. Here's one supplierhttp://www.vetuk.co.uk/index.php?main_page=product_info&cPath=149_2&products_id=6&zenid=5e12db69e2d7398ee0220f48ba008fd8
Have it plugged in all the time. One refil lasts approximately 1 month and refils are available. While I was resolving the problem I had one plugged in for three or four months, now I use it at times of stress like bonfire night etc
I also used some herbal anxiety drops too. I would give her them five or ten minutes before going out. There are quite a few herbal anxiety preparations on the market now. These are the ones I used
http://www.vetuk.co.uk/index.php?main_page=product_info&products_id=472 There are some other products on this page too that act in a similar way
http://www.vetuk.co.uk/index.php?main_page=advanced_search_result&search_in_description=1&keyword=anxiety+
Finally I used activity toys for her, a kong for example. She was very good at these so I made them difficult by packing them tightly, freezing it or microwaving it (allow to cool after) I only used them when I was going out. So in the end when I was going out she far more excited at the prospect of the kong than worrying that I was going out.
When you are at home with her, don't allow her to follow you everywhere. Put some distance between you, close the door when you leave the room she's in. To begin with you might want to work at only doing this for 30 seconds are re-enter and build it up.
Sapphi ended up with SA because I am at home most of the time, and I only ever left her to do things when she'd fallen asleep and as soon as she woke I played with her or trained her until she went to sleep again. Being my first dog I didn't know this was wrong. Sapphi got to the point of lifting the hall carpet from under four doors and ripping it into shreds, and it was a tough hessian backed carpet.
With time, patience and some practical changes I'm sure you'll see an improvement with her.