Add inputrc. Other minor changes