Small fixes

Fixed inability to type q or f in the textboxes.