Trace

Still requires a few fixes, but the main part is done.
Used it for debugging.
Removed.