You've hit the nail on the head. So many of us ignore good behaviour and unwittingly reinforce the bad... this also happens a lot with human children. You really need to reinforce the good behaviour so that it can eventually replace the bad. At the beginning, certainly go over and give her some attention now and again... also give her some attention from afar like a "woo how are you?" or whatever else she is familiar with. As MJGB said, getting her to forage is a first class way of keeping her occupied. Remember parrots are sociable creatures who live in flocks in the wild so she will be seeking out your attention/friendship... you are her flock now.