The issue with the weird number of cores in the web UI seems to stem from the fact that this seems to be the _maximum number of_ cores that the application may use, but `Integer.MAX_VALUE` wasn't being consistently treated as "unlimited" in the web UI code.  I think that renaming this to `maxCores` makes the code clearer.