Initial implementation of re #1284 (Event Framework). Current event has been converted to the new framework. Next to convert is codec event