Displaying "-:-" when checking.
don't use hiding.
fixing a bug of removeMainTarget.

If CPP is specified, a temprary file name was used.