Fixed some bugs, open events working (and 200 times faster)