Fix NPE when using voice input.

Catches the exception and moves on, but masks deeper issues.
The deeper issues we will fix over time.

p2: Add another try/catch for setInputMethodLocked.
p3: Tighter try/catches to locate specific cause.
p4: Another set of the same -- the NPE just moved around.
p5: Fix obvious derp -- late use of possible side effect nulled variable.

PAC-23 #close Worked around -- true repair requires significant rework.

Change-Id: I2d3aca7c53ce5b8b6264acbb5267a3988eea0e50
Base: Custom Statusbar/icons color

Signed-off-by: dragon <dragon7780@hotmail.nl>