Fix up pluginmanager and finish updating hook, still need to get loader working. Also edit some plugins which I will separate later