Code cleanup.
Code cleanup.
Cleaned up analytics client code.
Cleaned up code for settings and dashboard.
Fixed data sync bug.