use php 5.3 array syntax.
reduce priority of request shutdown listener.
avoid setting NULL content in response.
define DRUPAL_ROOT constant in constructor.