internal void OnDestroy()
 {
     ActionSyncCenter.stop();
 }
 internal void OnDisable()
 {
     PPaintCenter.ClientRepaints -= Repaint;
     ActionSyncCenter.stop();
 }