Stabled horse? That might be part of behavior issue. I have learned much about horses since having my own as an adult ( when I was a teen I got on and rode, and learned as I went). This time round I am doing a lot of self educating about the phsyc of horses and how they respond in general. They are flight animals by instinct and will always yeild to the easiest route. Too much intense pressure from a person, without yields at the appropriate times can cause the horse to look for escape routes elsewhere. This is what horse was telling you when she nosed into corner. Not that she is being a brat, but that she is feeling too much pressure from human and needs to get away. I would go back to the idea of "joining-up" (can be researched on google). This is a legit horse communication style that works and the idea can be applied to any horse at any stage of training. It is used to confirm that human is leader and horse is follower, and that it is more comfortable to be with human and respecting human in horse ways, and less comfortable to move away from human, and be disrespectful. Always remember that a horse learns on the yeild, not the pressure. For example, when teaching to lead,pull on halter until he moves even 1 inch ahead, as soon as he does, release pressure, this shows him it is easier to go with, than go against. This is how horses think with everything. Increase and release pressure. Intense pressure all the time in a difficult situation will go nowhere. Also, any reaction to bad behavior needs to be administered within 5 seconds, any longer and the horse doesn't relate consequence to the action.
Also, for stabled horses, outside pasture time is a sorely missed thing. In nature horses would spend 10 hours grazing per day. This horse doesn't want to go back in the barn either, she wants to be outside. There might be no solution for more pasture time at this point, but keep it in mind as another possible cause for bad behavior.
Hope you have a better day with this horse tomorrow.