Cleanup

Moved header output to out.class.php
Stacktrace now handles class functions correctly