Improved server logging panel and api's WebSocket handler