Audit all dependencies; general improvements