Added native event support
Merge head
Added stability improvements, testing dist on windows