Added Event driver.
Bug fixes.