improved Model::setListeners()
fixed arguments test in Controller::throwError()