Minor input grabbing cleanup.