add a mainClass request to get the default main class

also change 'in Compile in run' to 'in Compile' for discoveredMainClasses;
is this correct or should mainClass also be 'in Compile in run'?