Sounds like some separation anxiety, the best way to stop her from coming into your room is to contain her to a certain area, either with gates or a crate. just be sure you make that 'her' space and give her reason to enjoy being there. Same for the barking at the windows when you leave, contain her in 'her' space and give her stuff to do there (stuffed kongs ect).