Without seeing the dog's actual behavior in person, it's tough to tell, but you have a couple things to check:
1) the constant in/out ... is it because the dog needs the "bathroom"? Is he drinking a lot of water? Consider a visit to the vet to a checkup including bloodwork.
2) the barking and dominance ... often a sign of anxiety or reaction to change... did you get a new pet, kid, person, etc. in the house? Is there a new dog in the neighborhood?