Changes to follow Textadept 7.0 beta 4.
Fix a bug registering the UDPATE_UI event.