back to view->model generically.
removed redundant casts caused by PerceptView being passed Percept instead of T
Merge branch 'master' into generics