move some more code around
try to get visual bell working a bit better