Added basic input blocking/trapping.