Cool!
I noticed if you send T'Ris to a pet class not at Arellarti Station, then you can't fly away and you can't fix it. I think it's worth adding to the code a check for being at Arellarti Station before sending T'Ris to the pet class.
Thanks a lot for submitting the issue. Indeed forgot that case as in testing i always finished the training right away on Arellarti.
Added issue to bug fix list for v0.9
y.v.