[PLUGIN] use self.console.getEventID to retrieve event ids: remove some warnings
[EVENTS] pep8 coding style guide
[TK] pep8 coding style guide