Use pipe operators everywhere. Fix errors becasue of piping more than nine operations.
Add types folder as type root. Declare modules in type def files to be able to compile.
Delete fully loaded nodes that are not relevant for load status reporting to keep dict small and performance stable. Only emit if load status has changed.