fixed setstate for frame, maybe
Merge branch 'master' of https://github.com/jamesgao/pycortex