User tracking + www updates + bugfixes

Includes path tracing, and an improved state-based system.