More PHP Notices removed (part 46) + Small speedup of statistics calculation (now setting $StartingLevel is O(1) complexity and doesn't need additional memory allocation)