Fixed demo, ran API dump, added threading to events.