fixed plugin load/unloading, switched to Class::Refresh