You need a resistor from MCLR to Vcc to hold it high in normal use - this has nothing to do with the programming function.