Fixed the final problems with synchronous events. Everything should be in order for the functionality.