Version 1.1, add events, improve the multiple behavior, bugfixes