Removed filter globs for timing and memory...

...because I couldn't work out how they worked.
Max-depth working.
defaultdict and max make things simple and easier to read