Fixed bugs and changed error messages in active mode.
Merge branch 'controllerTest' of http://github.com/ktn/Iter2 into controllerTest