Improve Multiverse-Core support + dependency code rewrite.
Fix bugs arising from the dependency rewrite.