Changed the default behavior of controller->setLayout() to allow boolean values