Neatened initialisation of input buffer.