case-insensitive w and q
disable beeps.
various improvements; read the diff.