Zend 1 bugfixes and eng