small fixes. [prev commit also added control char filtering on input (e.g. regexp input, filename input for 'E' etc)]