Added experimental mod id optimizer.
Removed experimental ModId optimizer.
Removed outdated trace analysis stuff.
Added a lot of comments.