Refactored event subsystem
Updated video tests
Refactored video system
Updated gfx tests