Added debugging to stderr, fixed working directory and removed a lot of notices

style.css always returned a 500 because of the notices (I have them enabled in my php.ini).

also I used chdir() in MacOS/drag0n as I installed it in /Applications/drag0n/drag0n.app and then it broke...

The logger now redirects everything to stderr (or do you really want it on stdout…? ;-))