The condition where the knee joint pops out of place is called
luxating patella. There's more info on that here;

http://www.vetinfo.com/dpatella.html


The Vet school of any major university ought to be a big help
in discovering the problems Gracie has & how to help her. Best
of luck with this.