Added a method for HUD preview.
Moved array init.
Stop HUD scanning when keyboard shows.
Show HUD preview as a step in IME row scanning.
Corrected method name.
Merge pull request #165 from ericwan78/issue-159

fixes #159