Fixed most of Synchronized and added Event.