moves tracelogger app js into seperate file
draw frames that are smaller than threshold (currently 1px) and its children (max depth) in grey to visualize depth