Fixed EventQueue overflow, removed unused files