Added Pause functionality to EventQueue

Also solved weird null buffer on TestDaemon