fixed problems with calling compiler process; minor changes