Things are working again but there are still going to be some actR stuff (like SOS) that aren't working yet. Too bad.
added a __getitem__ to model.py to fix the pattern matcher. in pattern.py it was using x=a[key] (line 20). Not sure why this is is but the getitem seems to fix it.