more testing and work on event system and web socket logger