Phar creator fixes

I guess all fixes are understandable, but stub. With old stub I just got errors and phar never loaded. Tesed by
```sh
php -r 'require "tracy.phar"; dump($_SERVER);'