Error messages: delayed rendering with templating

the result of `array_keys( [] )` is empty array, so you can do this directly 
```php
return array_keys( $this->_errors );
```