Implemented UseCircuitCode message. Remove onexception in KIARA. Refactoring. Minor fixes.