Mouse and kb events added.