BUG did not handle empty virtuals
New mystack.py using frontend instead
BUG wrong variable name in untested exceptional code branch