improved stats display, cors support