Made the keyboard hiding code less ham-fisted