Added statistics overview and fixed some bugs.