Fixed #1365
Removed WeakRef
Fixed PluginBase::getServer()
Lots of new things added