Fixing some bugs discovered with central_monitor