Added repainting of GUI after keyboard event to remove clutter from non-QWS applications