Site-Statistics plugin fixes, cleanup etc.