Fixed testing bootstrap.
Fixed DNS API so it works with localhost.
Fixed plugin loading bugs + other bugs I found on the way.