added tip unlock state to debugger;
improved event dispatching structure; removed the usage of event mediator;