fixed recording of ed to pen log
added automatic copying of online file and penlog