* Fixed UI event handling bugs (crashes).
* Added more events to database.