Also removed SendEvent and simplified some other calls.
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>